package com.gxa.zhonglong.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author asus
 */
@ApiModel(value = "Inventory的实体类")
@NoArgsConstructor
@Data
@AllArgsConstructor
public class Inventory implements Serializable {
  @ApiModelProperty(value = "id号",name = "id")
  private long id;
  @ApiModelProperty(value = "单据编号",name = "receiptNumber")
  private String receiptNumber;
  @ApiModelProperty(value = "订单号",name = "orderNumber")
  private String orderNumber;
  @ApiModelProperty(value = "创单日期",name = "documentationDate")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp documentationDate;
  @ApiModelProperty(value = "类型",name = "type")
  private String type;
  @ApiModelProperty(value = "供应商名字",name = "supplierName")
  private String supplierName;
  @ApiModelProperty(value = "柜台名称",name = "counterName")
  private String counterName;
  @ApiModelProperty(value = "来源",name = "source")
  private String source;
  @ApiModelProperty(value = "入库门店",name = "shop")
  private String shop;

}
